
<ion-view view-title='待领取任务列表' >
    <ion-content>
        <div class="item" style="    padding-top: 5px;padding-bottom: 5px;padding-left: 5px;padding-right: 5px;">
            <h2 class="assertive"><b>你的区域有{{wait.waittake}}件订单待领取,定时达订单{{wait.dsd}}件</b></h2>
        </div>
        <div ng-if="(tasks.length > 0)">
            <div class="item" style="padding-bottom: 5px;padding-top: 5px;padding-right: 5px;padding-left: 5px;font-size: 10px;color: #080808;">
                <table style="width: 100%">
                    <tr>
                        <td style="width: 25%"><b>单号</b></td>
                        <td style="width: 20%"><b>物流类型</b></td>
                        <td style="width: 20%"><b>预约时间</b></td>
                        <td style="width: 35%"><b>收货信息</b></td>
                    </tr>
                </table>
            </div>
            <div class="list card" ng-repeat="order in tasks" style="margin-top: 5px;margin-bottom: 5px;margin-left: 5px;margin-right: 5px;font-size: 10px;color: #080808;">
                <table style="width: 100%">
                    <tr>
                        <td style="width: 25%">{{order.orderid}}</td>
                        <td style="width: 20%">{{order.expresstype}}</td>
                        <td style="width: 20%">{{order.deliveryTime}}</td>
                        <td style="width: 35%">{{order.toStreet}}</td>
                    </tr>
                </table>
            </div>
        </div>
        <div ng-if="(tasks.length == 0)" class="card">
            <div class="item item-text-wrap">
                啥都没有~~
            </div>
        </div>
    </ion-content>
</ion-view>
